<include file="Public/header"/>
<include file="Public/menu"/>
<div class="page-content">
	<div class="page-header">
		<h1>
			公司
			<small>
				<i class="icon-double-angle-right"></i>
				公司列表
			</small>
		</h1>
	</div>
	<!-- /.page-header -->
	<!-- PAGE CONTENT BEGINS -->
	<div class="row">
		<div class="col-xs-12">
			<div class="row">
				<div class="tabbable">
					<ul class="nav nav-tabs" id="myTab">
						<li class="active">
							<a href="{:U('Company/index')}">
								<i class="green icon-home bigger-110"></i>
								公司列表
							</a>
						</li>
					</ul>
					<div class="tab-content">
						<div class="tab-pane in active">
							<div class="table-responsive">
								<div id="sample-table_wrapper" class="dataTables_wrapper" role="grid">
								<table aria-describedby="sample-table_info" id="sample-table" class="table table-striped table-bordered table-hover dataTable">
									<thead>
									<tr role="row">
									<th aria-label="ID: activate to sort column ascending" colspan="1" rowspan="1" aria-controls="sample-table" tabindex="0" role="columnheader" class="center sorting_desc">ID</th>
									<th aria-label="公司名称" colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">公司名称</th>
									<th aria-label="公司简称" colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">公司简称</th>
									<th aria-label="所在地区: colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">所在地区</th>
									<th aria-label="公司规模: colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">公司规模</th>
									<th aria-label="所属行业: colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">所属行业</th>
									<!-- <th aria-label="公司官网" colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">公司官网</th> -->
									<th aria-label="公司网址" colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">公司网址</th>
									<th aria-label="认证状态: colspan="1" rowspan="1" role="columnheader" class="sorting_disabled">状态</th>
									<th aria-label="操作" style="width:8%;" colspan="1" rowspan="1" role="columnheader" class="sorting_disabled center">操作</th>
									</tr>
									</thead>
								<tbody aria-relevant="all" aria-live="polite" role="alert">
									<foreach name="list" item="l">
								<tr class="even">
								<td class="center sorting_1">{$l.com_id}</td>
								<td class="">{$l.comname}</td>
								<td class="">{$l.com_sname}</td>
								<td class="">{$l.com_city}</td>
								<td class="">{$l.com_size}</td>
								<td class="">{$l.com_ly}</td>
								<!-- <td class="">{$l.com_sname}</td> -->
								<td class="">{$l.com_url}</td>
								<td class="center">
								<if condition="$l['com_status'] eq 1">
										<span class="label label-sm label-success arrowed arrowed-righ">已认证</span>
								<else /><span class="label label-sm label-success arrowed arrowed-righ">未认证</span>
								</if>
								</td>
								<td class="center">
								<div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
									<a class="green" href="{:U('Admin/Company/comlist',array('id'=>$l['com_id']))}" title="详细资料">
										 <i class="icon-zoom-in bigger-130"></i>&nbsp;
								 </a>
									<a class="green" href="{:U('Admin/Company/edit',array('id'=>$l['com_id']))}" title="修改资料">
									<i class="icon-pencil bigger-130"></i>
									</a>
								</div>
								</td>
								</tr>
							</foreach>
							 </tbody>
							 </table>
							 <div class="row">
								 <div class="col-sm-6">
									 <div class="dataTables_info" id="sample-table_info">共 {$count} 条记录</div>
								 </div>
								 <div class="col-sm-6">
									 <div class="dataTables_paginate paging_bootstrap">{$page}</div>
								 </div>
							 </div>
							 </div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- PAGE CONTENT END -->
</div>
</div>
</div>
<include file="Public/footer"/>
